@import './common.less';

.banner {
    margin-bottom: 20px;

    img {
        width: 100%;
    }
}

.content {
    display: flex;
    justify-content: center;

    .content-center {
        width: 70vw;

        .filter-bar {
            .filter-row {
                display: flex;
                margin-bottom: 10px;
                align-items: center;
                .label {
                    width: 96px;
                    padding: 5px 0;
                    flex-shrink: 0;
                    .filter_search_button{
                        width: 50px;
                        height: 30px;
                        background-color: @theme;
                        border-radius: 5px;
                        color: white;
                        cursor: pointer;
                    }
                }

                .filter-wrap {
                    display: flex;

                    >div {
                        flex-shrink: 0;
                        margin-right: 20px;
                        display: flex;
                        align-items: center;
                    }
                    label {}

                    #data-wrap {
                        display: none;
                    }
                    
                }
                .rental_type{
                    .active{
                        color: @theme;
                    }
                }
            }
        }

        .room-list {
            width: 100%;

            .room-item {
                width: 100%;
                display: flex;
                padding: 20Px;
                border-bottom: 1px solid #eaeaea;
                cursor: pointer;
                &:hover{
                    background-color: @hover-grey;
                }
                .room-left {
                    margin-right: 40px;

                    img {
                        width: 260px;
                        height: 160px;
                    }
                }

                .room-mid {
                    width: 50%;
                    margin-right: 40px;
                    .room-title {
                        width: 100%;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space:wrap;
                        font-size: 22Px;
                        color: #0b0f12;
                        margin-bottom: 16Px;
                        font-weight: 700;
                        line-height: 40px;
                    }

                    div:nth-child(2),
                    div:nth-child(3),div:nth-child(4) {
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                        font-size: 16Px;
                        color: #999;
                        margin-bottom: 18Px;
                        font-weight: 400;
                        max-width: 300Px;
                    }
                }

                .room-right {
                    display: flex;
                    align-items: end;
                    flex-wrap: nowrap;

                    .room-price {
                        font-size: 36Px;
                        // line-height: 36Px;
                        font-weight: 600;
                        color:@red-color;
                    }

                    .room-price-unit {
                        font-size: 22Px;
                        // line-height: 30Px;
                        font-weight: 600;
                        color: @red-color;
                        flex-shrink: 0;
                    }
                }
            }
        }
    }

}
